It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. 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
-
(
RoleAggregate
) The blessings were successfully set. -
404
-
(
BasicFailedReply
) The role can't be found. (code:roles.not_found
) -
409
-
(
BasicFailedReply
) Your request failed because the specified version does not match the persisted version. (code:roles.version_conflict
)
To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.
Request example
editcurl -XPUT {{hostname}}/api/v1/platform/infrastructure/blueprinter/roles/{blueprinter_role_id}/blessings \ -u $CLOUD_USER:$CLOUD_KEY \ -H 'Content-Type: application/json' \ -d ' { "runner_ids_to_blessing" : { "some_property" : { "value" : true } } } '