Skip to main content

Set permissions on API key

GET 

/pim/keyinfo/set

  • Requires Access Manager ApiKey permissions.
  • Example URI:

Replace "ApiKey" with the actual API key value.

Set permissions for an API key: https://instancename.piminto.com/api/en-us/pim/keyinfo/set?key=Apikey&pim_user=1

Revoke permissions for an API key: https://instancename.piminto.com/api/en-us/pim/keyinfo/set?key=Apikey&pim_user=0

This API allows you to manage permissions associated with API keys in the PIMS system based on the provided permission names.

You can retrieve the list of permissions associated with your API key using the following API: https://instancename.piminto.com/api/en-us/pim/keyinfo

Adjusting individual permissions for an API key is possible only if your own permission for the same operation is also set to 1.

Request

Query Parameters

    key stringrequired

    API key

    param object

    Enter the parameter names and values (1 or 0) in the JSON object format

    For a list of parameters, refer to "Info on your own API key"

Responses

success

Schema
    status stringrequired

    The status of the API request. A value of "OK" indicates that the request was successfully sent and processed.

    status_message stringrequired
Loading...