Update a Subproject's Locks

Update the Locks available to the Subproject

Note:

  • Removing a Lock from a Subproject will revoke all Keys for that Lock in the Subproject.
Required Scopeproject.admin
Required Modulesubproject
Path Params
string
required

ID of the Project. Must match the one in the JWT.

string
required

ID of the Subproject.

Body Params

Subproject Locks to be changed.

At least one of the properties lockIdsToAdd or lockIdsToRemove must be provided.

lockIdsToAdd
array of strings

List of Lock IDs to add to the Subproject.
If a Lock is already in the Subproject, it will be ignored. Providing Lock IDs that dont exist, either at all or in this Project, will result in an error.

lockIdsToAdd
lockIdsToRemove
array of strings

List of Lock IDs to remove from the Subproject.
If a Lock is not in the Subproject, it will be ignored.

lockIdsToRemove
Responses

Language
Credentials
Bearer
JWT
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json