Manage Profile Additional Settings
    • PDF

    Manage Profile Additional Settings

    • PDF

    Article summary

    Note:

    The following APIs are supported only for GCP, GCP Standalone and Azure applications only.

    1. Get Profile Additional Settings

    The GET method allows you to retrieve additional profile settings.

    GET

    {{url}}/api/paps/{papId}/additional-settings

    Request Example 

    curl --location --request GET '{{url}}api/paps/{papId}/additional-settings' \
    --header 'Authorization: TOKEN {{token}}' 

    Response Example 

    {
      "papId" : "s4h7rbh9yh045ktllzp8",
      "additionalSettings" : {
        "projectIdForServiceAccount" : "my-first-project",
        "consoleAccess" : true,
        "programmaticAccess" : true,
        "useApplicationCredentialType": false,
      }
    }

    Status: 200 OK

    2. Add or Update Profile Additional Settings

    The POST method allows you to add or update profile additional settings. You can use this API to update all the settings. If a setting is not provided, it will be removed.

    POST

    {{url}}/api/paps/{papId}/additional-settings

    Request Example 

    curl --location --request POST '{{url}}/api/paps/{papId}/additional-settings' \
    --header 'Authorization: TOKEN {{token}}' \
    --data-raw '[
    {
        "projectIdForServiceAccount" : "my-first-project",
        "consoleAccess" : true,
        "programmaticAccess" : true,
        "useApplicationCredentialType": false,
    }

    Response Example 

    Status: 204 No Content

    3. Update a Specific Setting

    The PATCH method allows you to update any specific profile's additional setting.

    PATCH

    {url}/api/paps/{papId}/additional-settings

    Request Example 

    curl --location --request PATCH '{{url}}/api/paps/{papId}/additional-settings' \
    --header 'Authorization: TOKEN {{token}}' \
    --data-raw '[
    {
        "projectIdForServiceAccount" : "my-first-project",
    }

    Response Example 

    Status: 204 No Content


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.