role_user_assignments

Create a RoleUserAssignment.

post/role_user_assignments/

Request body

object_idstring nullable

Primary key of the object this assignment applies to, null value indicates system-wide assignment

object_ansible_idstring uuid nullable

Resource id of the object this role applies to. Alternative to the object_id field.

role_definitioninteger required

The role definition which defines permissions conveyed by this assignment

userinteger
user_ansible_idstring uuid nullable

Resource id of the user who will receive permissions from this assignment. Alternative to user field.

Response

Return a created RoleUserAssignment.

idinteger required
urlstring required
relatedobject required
summary_fieldsobject required
createdstring date-time required

The date/time this resource was created

created_byinteger nullable required

The user who created this resource

content_type'eda.activation' | 'eda.auditrule' | 'eda.decisionenvironment' | 'eda.edacredential' | 'eda.eventstream' | 'eda.project' | 'eda.rulebook' | 'eda.rulebookprocess' | 'shared.organization' | 'shared.team' required
  • eda.activation - Activation
  • eda.auditrule - Audit Rule
  • eda.decisionenvironment - Decision Environment
  • eda.edacredential - Eda Credential
  • eda.eventstream - Event Stream
  • eda.project - Project
  • eda.rulebook - Rulebook
  • eda.rulebookprocess - Rulebook Process
  • shared.organization - Organization
  • shared.team - Team
object_idstring nullable

Primary key of the object this assignment applies to, null value indicates system-wide assignment

object_ansible_idstring uuid nullable

Resource id of the object this role applies to. Alternative to the object_id field.

role_definitioninteger required

The role definition which defines permissions conveyed by this assignment

userinteger
user_ansible_idstring uuid nullable

Resource id of the user who will receive permissions from this assignment. Alternative to user field.

Changes

Changed in 4 of the 8 revisions of this API.319

  • c04fc5f09692217See the full diff
    • the response property object_ansible_id became nullable for the status 201

      response-property-became-nullable

    • the response property user_ansible_id became nullable for the status 201

      response-property-became-nullable

    • added the new eda.eventstream enum value to the content_type/allOf[ContentTypeEnum]/ response property for the response status 201

      response-property-enum-value-added

    • the request property object_ansible_id became nullable (media type: application/json)

      request-property-became-nullable

    • the request property object_ansible_id became nullable (media type: application/x-www-form-urlencoded)

      request-property-became-nullable

    • the request property object_ansible_id became nullable (media type: multipart/form-data)

      request-property-became-nullable

    • the request property user_ansible_id became nullable (media type: application/json)

      request-property-became-nullable

    • the request property user_ansible_id became nullable (media type: application/x-www-form-urlencoded)

      request-property-became-nullable

    • the request property user_ansible_id became nullable (media type: multipart/form-data)

      request-property-became-nullable

    • removed the eda.credentialtype enum value from the content_type/allOf[ContentTypeEnum]/ response property for the response status 201

      response-property-enum-value-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed the eda.extravar enum value from the content_type/allOf[ContentTypeEnum]/ response property for the response status 201

      response-property-enum-value-removed

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 24 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 64 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog