View Source IncidentIo.UsersV2 (IncidentIo v0.1.0)

View users.

Users all have a single base role, and can be assigned multiple custom roles. They can be managed via your Slack workspace or SAML provider.

Summary

Functions

List users for an organisation.

Get a single user.

Functions

Link to this function

list(client \\ %Client{}, opts \\ [])

View Source
@spec list(IncidentIo.Client.t(), request_options()) :: IncidentIo.response()

List users for an organisation.

Example

IncidentIo.UsersV2.list(client)

IncidentIo.UsersV2.list(client, email: "some-user@your-company.tld")

More information at: https://api-docs.incident.io/tag/Users-V2#operation/Users%20V2_List

Link to this function

show(client \\ %Client{}, id)

View Source
@spec show(IncidentIo.Client.t(), nonempty_binary()) :: IncidentIo.response()

Get a single user.

Example

IncidentIo.UsersV2.show(client, "some-user-id")

More information at: https://api-docs.incident.io/tag/Users-V2#operation/Users%20V2_Show