IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Set blessings
editSet blessings
editSet blessings for a role.
Request
editPUT /api/v1/platform/infrastructure/blueprinter/roles/{blueprinter_role_id}/blessings
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
User-specified Blueprinter role ID. |
Query parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
N |
When specified, checks for conflicts against the version stored in the persistent store (returned in 'x-cloud-resource-version' of the GET request) |
Responses
edit-
200
-
The blessings were successfully set.
-
404
-
The role can't be found. (code:
roles.not_found
)Headers
-
x-cloud-error-codes
(string
; allowed values: [roles.not_found
]) - The error codes associated with the response
-
-
409
-
Your request failed because the specified version does not match the persisted version. (code:
roles.version_conflict
)Headers
-
x-cloud-error-codes
(string
; allowed values: [roles.version_conflict
]) - The error codes associated with the response
-
Request example
editcurl -XPUT https://{{hostname}}/api/v1/platform/infrastructure/blueprinter/roles/{blueprinter_role_id}/blessings \ -H "Authorization: ApiKey $ECE_API_KEY" \ -H 'Content-Type: application/json' \ -d ' { "runner_ids_to_blessing" : { "some_property" : { "value" : true } } } '