PUT rbac/access certification campaigns/reviews/:access certification campaign review id
From Social ID Developers
Contents |
Description
Updates an Access Certification Campaign Review.
Resource URL
PUT https://api.socialidnow.com/v1/rbac/access_certification_campaigns/reviews/:access_certification_campaign_review_id
Parameters
URL Parameters
access_certification_campaign_review_id | required | access certification campaign review identifier. |
---|
JSON Parameters
access_certification_campaign_review | required | a hash in the format field:value, with the necessary fields to update the access certification campaign review: |
---|---|---|
status | optional | review status. |
comment | optional | review comment. |
reviewer_id 1 | optional | reviewer identifier. |
1 Required to update the access certification campaign status.
Authentication
This API requires Account authentication. See Authentication.
Response
Response Status
ok (200) | The access certification campaign review was updated successfully. |
---|---|
bad_request (400) | Some required parameter was not informed. |
unauthorized (401) | The authentication is wrong. See Authentication. |
forbidden (403) | The account does not have access to this access certification campaign review. |
unprocessable_entity (422) | Validation error in the field "access_certification_campaign_review". |
internal_server_error (500) | An unknown error happened. |
Examples
Request
curl -iX PUT 'https://api.socialidnow.com/v1/rbac/access_certification_campaigns/reviews/1' \ -d '{ "access_certification_campaign_review": { "status": "revoked", "comment": "access expired", "reviewer_id": 123 } }' \ -H 'Content-type: application/json' \ --user 138:e8b9ca24f1b590af67e6271297d6e1f7226625d61c5b5daa1b2f215464e292cf
Response
Response Headers
HTTP/1.1 200 Ok Status: 200