Commit a43aef5d authored by ale's avatar ale

Update documentation for set_resource_status API endpoint

parent fecc334c
Pipeline #3346 passed with stages
in 4 minutes and 43 seconds
......@@ -468,25 +468,16 @@ which user they belong to. Access is normally granted to admins and to
the user that owns a resource, but some operations are restricted to
admins only.
### `/api/resource/enable`
### `/api/resource/set_status`
Enable a resource (admin-only).
Modify the status of a resource (admin-only).
Request parameters:
* `resource_id` - resource ID
* `sso` - SSO ticket
* `comment` - notes on the operation
### `/api/resource/disable`
Disable a resource (admin-only).
Request parameters:
* `resource_id` - resource ID
* `sso` - SSO ticket
* `comment` - notes on the operation
* `status` - new status (one of *active*, *inactive*, *readonly*
or *archived*, depending on the resource type)
### `/api/resource/move`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment