FinSpaceData / Client / enable_user

enable_user#

FinSpaceData.Client.enable_user(**kwargs)#

Allows the specified user to access the FinSpace web application and API.

See also: AWS API Documentation

Request Syntax

response = client.enable_user(
    userId='string',
    clientToken='string'
)
Parameters:
  • userId (string) –

    [REQUIRED]

    The unique identifier for the user that you want to activate.

  • clientToken (string) –

    A token that ensures idempotency. This token expires in 10 minutes.

    This field is autopopulated if not provided.

Return type:

dict

Returns:

Response Syntax

{
    'userId': 'string'
}

Response Structure

  • (dict) –

    • userId (string) –

      The unique identifier for the active user.

Exceptions

  • FinSpaceData.Client.exceptions.InternalServerException

  • FinSpaceData.Client.exceptions.ValidationException

  • FinSpaceData.Client.exceptions.ThrottlingException

  • FinSpaceData.Client.exceptions.AccessDeniedException

  • FinSpaceData.Client.exceptions.ResourceNotFoundException

  • FinSpaceData.Client.exceptions.LimitExceededException

  • FinSpaceData.Client.exceptions.ConflictException