Data

Set the access roles of a link

Replace the access roles an application holds on this data object.

Required scope data:edit

put/data/{id}/applications/{applicationId}/roles

Authorizations

Authorizationstringrequired

Authorization header carrying a workspace API key, as “Bearer kbn_live_…”. The X-Api-Key header is accepted equivalently.

Path parameters

idstring<uuid>required

Identifier of the data object.

applicationIdstring<uuid>required

Identifier of the linked application.

Bodyapplication/json

rolesstring[]required

The complete set of roles.

Response204

The roles were set.