PHP Sigfox Client

UsersIdProfiles

Table of Contents

addRoles()  : void
add user roles to a user.
find()  : UsersIdProfilesProfileId
Find by profileId

Methods

addRoles()

add user roles to a user.

public addRoles(array<string|int, mixed>|null $userRoles) : void
Parameters
$userRoles : array<string|int, mixed>|null

user roles array to add

Tags
throws
SerializeException

If request object failed to serialize to a JSON serializable type.

throws
UnexpectedResponseException

If server returned an unexpected status code.

throws
ResponseException

If server returned any expected HTTP error

throws
ValidationException

If request could not be validated according to pre validation rules.

throws
BadRequestException

If server returned a HTTP 400 error.

throws
UnauthorizedException

If server returned a HTTP 401 error.

throws
ForbiddenException

If server returned a HTTP 403 error.

throws
NotFoundException

If server returned a HTTP 404 error.

throws
MethodNotAllowedException

If server returned a HTTP 405 error.

throws
InternalServerException

If server returned a HTTP 500 error.

Return values
void

Search results